Skip to content

London | 26-ITP-Jan | Adnaan Abo | Sprint 2 | Form Control#1072

Open
AdnaanA wants to merge 2 commits intoCodeYourFuture:mainfrom
AdnaanA:form-control-sep
Open

London | 26-ITP-Jan | Adnaan Abo | Sprint 2 | Form Control#1072
AdnaanA wants to merge 2 commits intoCodeYourFuture:mainfrom
AdnaanA:form-control-sep

Conversation

@AdnaanA
Copy link

@AdnaanA AdnaanA commented Jan 26, 2026

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

    form created with specific fields
    improved accessibility score.
@netlify
Copy link

netlify bot commented Jan 26, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 0254bcf
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/697758449580bd000708b0ce
😎 Deploy Preview https://deploy-preview-1072--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@AdnaanA AdnaanA added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
@AdnaanA AdnaanA added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 26, 2026
@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AdnaanA AdnaanA added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
@AdnaanA AdnaanA changed the title London | 26-ITP-Jan | Adnaan Abo | Sprint 1 | Form Control London | 26-ITP-Jan | Adnaan Abo | Sprint 2 | Form Control Jan 26, 2026
@AdnaanA AdnaanA added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 2 Assigned during Sprint 2 of this module 📅 Sprint 1 Assigned during Sprint 1 of this module and removed 📅 Sprint 1 Assigned during Sprint 1 of this module 📅 Sprint 2 Assigned during Sprint 2 of this module labels Jan 26, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the PR description, the "Changelist" section only contains a header. Can you include a brief description of what you have changed?

<legend>Customer Information</legend>

<label for="first_name">First Name:</label><br />
<input type="text" id="first_name" name="first_name" required minlength="2" /><br /><br />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?

Comment on lines +39 to +51
<label>
<input type="radio" name="color" value="red" required />
&nbsp;&nbsp;Red&nbsp;&nbsp;
</label>
<label>
<input type="radio" name="color" value="blue" required />
&nbsp;&nbsp;Blue&nbsp;&nbsp;
</label>
<label>
<input type="radio" name="color" value="green" required />
&nbsp;&nbsp;Green&nbsp;&nbsp;
</label><br /><br />
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these three radio buttons belong to the same button group (share the same name value), we don't need required in all input elements; one is enough.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants